package com.youlin.dto.res;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.lang.Nullable;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class EditAdminResDto {

    @Nullable
    @ApiModelProperty(value = "账户ID：新建时不传，编辑时必填", position = 1)
    private Integer id;

    @ApiModelProperty(value = "角色ID", required = true, position = 2)
    private Integer roleId;

    @ApiModelProperty(value = "登录账号", required = true, position = 3)
    private String name;

    @ApiModelProperty(value = "使用者姓名", required = true, position = 4)
    private String nick;

    @ApiModelProperty(value = "使用者手机号", required = true, position = 5)
    private String tel;

    @Nullable
    @ApiModelProperty(value = "是否重置密码", position = 6)
    private Boolean resetPwd;

}

